package com.woniuxy.examentity;

import java.util.HashMap;
import java.util.Map;

// 评分结果
public class ExamScoreResult {
    private double totalScore;
    private Map<String, Double> scores; // 每题得分
    private Map<String, String> comments; // AI评语

    // 构造函数、getter和setter
    public ExamScoreResult() {
        this.scores = new HashMap<>();
        this.comments = new HashMap<>();
    }

    public double getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(double totalScore) {
        this.totalScore = totalScore;
    }

    public Map<String, Double> getScores() {
        return scores;
    }

    public void setScores(Map<String, Double> scores) {
        this.scores = scores;
    }

    public Map<String, String> getComments() {
        return comments;
    }

    public void setComments(Map<String, String> comments) {
        this.comments = comments;
    }
}
